home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 2 / BBS in a box - Trilogy II.iso / Files / Hyper / U-Z / WaldoStuff / WaldoHelp / WaldoHelp / card_4188.txt < prev    next >
Encoding:
Text File  |  1993-09-09  |  5.9 KB  |  228 lines

  1. -- card: 4188 from stack: in
  2. -- bmap block id: 4468
  3. -- flags: 0000
  4. -- background id: 2659
  5. -- name: 
  6.  
  7.  
  8. -- part 9 (button)
  9. -- low flags: 00
  10. -- high flags: 0000
  11. -- rect: left=82 top=240 right=267 bottom=114
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: New Button
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   if the optionKey is down and the ShiftKey is down then
  23.     global theButton
  24.     put the short name of me into theButton
  25.     StartEditing
  26.   end if
  27. end mouseUp
  28. on mouseWithin
  29.   put the script of me into temp
  30.   get the number of lines in temp
  31.   put line 16 to it of temp into  bg fld 1
  32. end mouseWithin
  33. on mouseLeave
  34.   put empty into bg fld 1
  35. end mouseLeave
  36. Put the hand cursor over the "X"
  37.  
  38.  
  39.  
  40. -- part 1 (button)
  41. -- low flags: 00
  42. -- high flags: A000
  43. -- rect: left=5 top=318 right=340 bottom=138
  44. -- title width / last selected line: 0
  45. -- icon id / first selected line: 0 / 0
  46. -- text alignment: 1
  47. -- font id: 0
  48. -- text size: 12
  49. -- style flags: 0
  50. -- line height: 16
  51. -- part name: Return to Waldo
  52. ----- HyperTalk script -----
  53. on mouseUp
  54.   set userlevel to 3
  55.   checkSize
  56.   visual effect iris close
  57.   pop card
  58. end mouseUp
  59.  
  60.  
  61.  
  62.  
  63. -- part 2 (button)
  64. -- low flags: 00
  65. -- high flags: 0000
  66. -- rect: left=164 top=318 right=339 bottom=319
  67. -- title width / last selected line: 0
  68. -- icon id / first selected line: 24317 / 24317
  69. -- text alignment: 1
  70. -- font id: 0
  71. -- text size: 12
  72. -- style flags: 0
  73. -- line height: 16
  74. -- part name: Return
  75. ----- HyperTalk script -----
  76. on mouseUp
  77.   visual effect stretch from top
  78.   go to cd 1
  79.   put empty into bg fld 1
  80. end mouseUp
  81.  
  82.  
  83. -- part 3 (button)
  84. -- low flags: 00
  85. -- high flags: 0000
  86. -- rect: left=103 top=253 right=268 bottom=115
  87. -- title width / last selected line: 0
  88. -- icon id / first selected line: 0 / 0
  89. -- text alignment: 1
  90. -- font id: 0
  91. -- text size: 12
  92. -- style flags: 0
  93. -- line height: 16
  94. -- part name: Picture Button
  95. ----- HyperTalk script -----
  96. on mouseUp
  97.   if the optionKey is down and the ShiftKey is down then
  98.     global theButton
  99.     put the short name of me into theButton
  100.     StartEditing
  101.   end if
  102. end mouseUp
  103. on mouseWithin
  104.   put the script of me into temp
  105.   get the number of lines in temp
  106.   put line 16 to it of temp into  bg fld 1
  107. end mouseWithin
  108. on mouseLeave
  109.   put empty into bg fld 1
  110. end mouseLeave
  111. The XStack Button will display a eXternal Stack when clicked on.
  112. An XStack is a stack that has a general script in it that will redisplay the page in Waldo where you clicked the XStack Button.
  113. An XStack may be a single card or a series of cards. The primary purpose is to display graphics, play sound, animation, text and music. The stack must contain a script for returning to the page from which you left Waldo.
  114.  
  115.  
  116.  
  117. -- part 4 (button)
  118. -- low flags: 00
  119. -- high flags: 0000
  120. -- rect: left=33 top=239 right=267 bottom=64
  121. -- title width / last selected line: 0
  122. -- icon id / first selected line: 0 / 0
  123. -- text alignment: 1
  124. -- font id: 0
  125. -- text size: 12
  126. -- style flags: 0
  127. -- line height: 16
  128. -- part name: Picture List
  129. ----- HyperTalk script -----
  130. on mouseUp
  131.   if the optionKey is down and the ShiftKey is down then
  132.     global theButton
  133.     put the short name of me into theButton
  134.     StartEditing
  135.   end if
  136. end mouseUp
  137. on mouseWithin
  138.   put the script of me into temp
  139.   get the number of lines in temp
  140.   put line 16 to it of temp into  bg fld 1
  141. end mouseWithin
  142. on mouseLeave
  143.   put empty into bg fld 1
  144. end mouseLeave
  145. The XStack List Button will display a list of all pages that have XStack Buttons and the particular XStack Button on that Page.  You may go to the selected Page by holding down the Option key. The XStack Button List may be displayed on a Page with a XStack Button.
  146. The XStack Button will not  appear if there are no XStacks for the currently loaded document.
  147.  
  148.  
  149.  
  150. -- part 6 (button)
  151. -- low flags: 00
  152. -- high flags: 0000
  153. -- rect: left=390 top=231 right=269 bottom=427
  154. -- title width / last selected line: 0
  155. -- icon id / first selected line: 0 / 0
  156. -- text alignment: 1
  157. -- font id: 0
  158. -- text size: 12
  159. -- style flags: 0
  160. -- line height: 16
  161. -- part name: LSEN
  162. ----- HyperTalk script -----
  163. on mouseUp
  164.   if the optionKey is down and the ShiftKey is down then
  165.     global theButton
  166.     put the short name of me into theButton
  167.     StartEditing
  168.   end if
  169. end mouseUp
  170. on mouseWithin
  171.   put the script of me into temp
  172.   get the number of lines in temp
  173.   put line 16 to it of temp into  bg fld 1
  174. end mouseWithin
  175. on mouseLeave
  176.   put empty into bg fld 1
  177. end mouseLeave
  178. The Utilities Buttons
  179. ( Title List,  Find List and HyperQueue List) provide the means of maintaining and saving Lists to disk. You must hold down the mouse button and wait for a List to pop up to make a selection. Lists may be erased, renamed, saved to disk and loaded from disk.
  180.  
  181.  
  182.  
  183.  
  184. -- part 7 (button)
  185. -- low flags: 00
  186. -- high flags: 0000
  187. -- rect: left=432 top=231 right=269 bottom=511
  188. -- title width / last selected line: 0
  189. -- icon id / first selected line: 0 / 0
  190. -- text alignment: 1
  191. -- font id: 0
  192. -- text size: 12
  193. -- style flags: 0
  194. -- line height: 16
  195. -- part name: Down Mouse
  196. ----- HyperTalk script -----
  197. on mouseUp
  198.   if the optionKey is down and the ShiftKey is down then
  199.     global theButton
  200.     put the short name of me into theButton
  201.     StartEditing
  202.   end if
  203. end mouseUp
  204. on mouseWithin
  205.   put the script of me into temp
  206.   get the number of lines in temp
  207.   put line 16 to it of temp into  bg fld 1
  208. end mouseWithin
  209. on mouseLeave
  210.   put empty into bg fld 1
  211. end mouseLeave
  212. To use the List Utilities and the Sound Level Button you must hold down the mouse button on them till a pop up list is displayed and a item is selected in the list. With all other Buttons you simply click .
  213.  
  214.  
  215.  
  216. -- part 8 (button)
  217. -- low flags: 80
  218. -- high flags: 0000
  219. -- rect: left=0 top=187 right=342 bottom=512
  220. -- title width / last selected line: 0
  221. -- icon id / first selected line: 0 / 0
  222. -- text alignment: 1
  223. -- font id: 0
  224. -- text size: 12
  225. -- style flags: 0
  226. -- line height: 16
  227. -- part name: Hide Buttons
  228.